<template>
  <el-dialog title="跟进处理" :close-on-click-modal="false" append-to-body
             :visible.sync="visible" class="cu-dialog cu-dialog_center" lock-scroll width="880px">
    <el-row :gutter="15" class="" >
      <el-form ref="elForm" :model="dataForm" size="small" label-width="100px" label-position="right"  :rules="rules">
        <el-col :span="12"  >
          <el-form-item label="维权方式" prop="followUpMethod">
            <el-select v-model="dataForm.followUpMethod" placeholder="请选择维权方式"  filterable clearable required :style="{ width: '100%' }"  >
              <el-option :key="item.id" :label="item.fullName" :value="item.enCode" v-for="item in followUpMethodOptions" />
            </el-select>
          </el-form-item>
        </el-col>
        <el-col :span="12" >
          <el-form-item label="违规事项" prop="violationIssue">
            <el-select v-model="dataForm.violationIssue" placeholder="请选择违规事项" filterable clearable required :style="{ width: '100%' }" >
              <el-option :key="item.enCode" :label="item.fullName" :value="item.enCode" v-for="item in violationlssueOptions" />
            </el-select>
          </el-form-item>
<!--          <el-form-item label='违规事项' prop="infringementIssue">
            <el-input v-model="dataForm.infringementIssue" placeholder="请输入违规事项"  filterable clearable required :style="{ width: '100%' }"  >
            </el-input>
          </el-form-item>-->
        </el-col>
        <el-col :span="12">
          <el-form-item label="跟进时间" prop="followUpDate">
            <el-date-picker v-model="dataForm.followUpDate" placeholder="请选择跟进时间" clearable required :style="{ width: '100%' }" type="date" format="yyyy-MM-dd" value-format="timestamp"></el-date-picker>
          </el-form-item>
        </el-col>
        <el-col :span="12" >
          <el-form-item label='跟进状态' prop="followUpStatus">
            <el-select v-model="dataForm.followUpStatus" placeholder="请选择进状态"  filterable clearable required :style="{ width: '100%' }"  >
              <el-option v-for="(item, index) in handlesOptions" :key="index" :label="item.fullName" :value="item.enCode"></el-option>
            </el-select>
          </el-form-item>
        </el-col>
        <el-col :span="24">
          <el-form-item label="跟进详情" prop="followUpDetails">
            <el-input v-model="dataForm.followUpDetails" placeholder="请输入跟进详情" show-word-limit :style="{ width: '100%' }" type="textarea" :autosize="{ minRows: 4, maxRows: 4 }"></el-input>
          </el-form-item>
        </el-col>
        <el-col :span="24">
          <el-form-item label="上传附件" prop="attachments">
            <custom-upload-fz type="handle"  v-model="dataForm.attachments" :fileSize="500" sizeUnit="MB" :limit="9" buttonText="点击上传文件" :style="{ width: '300px' }"></custom-upload-fz>
          </el-form-item>
        </el-col>
      </el-form>
    </el-row>
    <span slot="footer" class="dialog-footer">
      <el-button @click="visible = false">取 消</el-button>
      <el-button type="primary" @click="dataFormSubmit()">确 定</el-button>
    </span>
  </el-dialog>
</template>
<script>
export { default } from './index.js'
</script>
